﻿namespace RuoVea.CodeGen.Server.Models;

/// <summary>
/// 数据库链接表
/// </summary>
[SugarTable(nameof(GenDbConnString), "数据库链接表")]
public class GenDbConnString : EntityBaseId
{ 
    /// <summary>
    /// 名称
    /// </summary>
    [SugarColumn(IsNullable = false)]
    public string? DbName { get; set; }

    /// <summary>
    /// 类型
    /// </summary>
    [SugarColumn(IsNullable = false)]
    public int DbType { get; set; }

    /// <summary>
    /// 字符串
    /// </summary>
    [SugarColumn(IsNullable = false)]
    public string? ConnectionStrings { get; set; }

    /// <summary>
    /// 系统配置
    /// </summary>
    public int? IsSys { get; set; }
}